<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="/common/meta.jsp"%>
<title>Insert title here</title>
</head>
<body>
	<div id="framework_main_layout" class="easyui-layout" style="width:900px;" data-options="fit:true">
		<div data-options="region:'north',border:false,href:'${ctx}/head.jsp'" style="height:50px;overflow:hidden;text-align: center;"></div>
		<div data-options="region:'center',border:false">
			<a href="${ctx}/order/main.do" >预约管理</a>
			<a href="${ctx}/user/manage.do" >账户管理</a>
			<div id="framework_main_tabs" class="easyui-tabs" data-options="tabPosition:'left',onSelect:setHeight" style="width:900px;height:700px; margin:0 auto;">  
				<div title="订单管理" href="${ctx}/order/order_main.do" data-options="cache:false"></div>
				<div title="我的消息" href="${ctx}/frame/msg/list.jsp" data-options="cache:false"></div>
				<div title="基本信息" href="${ctx}/user/info.do" data-options="cache:false"></div>
				<div title="“店面”信息" href="${ctx}/host/main.do" data-options="cache:false"></div>
				<div title="服务日历"></div>
				<div title="服务项目" href="${ctx}/host/server.do" data-options="cache:false"></div>
				<div title="我的狗狗" href="${ctx}/pet/main.do" data-options="cache:false"></div>
				<div title="照片管理"></div>
				<div title="我的收藏" href="${ctx}/fav/main.do" data-options="cache:false"></div>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript">
function setHeight(){  
    var c = $('#framework_main_layout');  
    var p = c.layout('panel','center'); // get the center panel  
    var oldHeight = p.panel('panel').outerHeight();  
    p.panel('resize', {height:'auto'});  
    var newHeight = p.panel('panel').outerHeight();  
    c.height(c.height() + newHeight - oldHeight);  
    c.layout('resize');  
} 
</script>
</html>